const fs = require("fs");
const path = require("path");

var filePath = path.join(__dirname, "/3.txt");

fs.writeFileSync(filePath, "hello nodejs");

console.log("同步代码执行");